 <div id="content_imag">
                <td>
                    <table  cellpadding="0px" cellspacing="0px" border="0px">
                        <tr>
                        <td>
                            <div id="home_image" > </div>
                        </td>
                        <td style="vertical-align: top;">
                            <div  id="imag">

                            <div class="wrapper">
                                <div id="ei-slider" class="ei-slider">

                                    <ul class="ei-slider-large">
                                        <?php  foreach ($foto as $ft) { ?>

                                         <li>
                                             <?php echo image_tag('../uploads/baner/'.$ft->getId().'.jpg') ?>
                                         </li>
                                         <?php     } ?>

                                    </ul><!-- ei-slider-large -->


                                    <ul class="ei-slider-thumbs">
                                        <li class="ei-slider-element">Current</li>
                                        <li><a href="#">Slide 6</a></li>
                                        <li><a href="#">Slide 1</a></li>
                                        <li><a href="#">Slide 2</a></li>
                                        <li><a href="#">Slide 3</a></li>
                                        <li><a href="#">Slide 4</a></li>
                                        <li><a href="#">Slide 5</a></li>
                                        <li><a href="#">Slide 7</a></li>
                                    </ul><!-- ei-slider-thumbs -->
                                </div><!-- ei-slider -->
                                <div class="reference">
                                </div>
                            </div><!-- wrapper -->
                        </div>
                      
                        <script type="text/javascript">
                            $(document).ready(function() {
                                $('#ei-slider').eislideshow({
                                                        animation			: 'center',
                                                        autoplay			: false,
                                                        slideshow_interval	: 2000,
                                                        titlesFactor		: 0
                                });
                            });
                        </script>
                </td>
                        </tr>
                    </table>


                </td>
                </div>
              